<template>
  <div id="app">
    <ul>
      <template v-for="site in sites">
        <li>{{ site.name }}</li>
        <li>--------------</li>
      </template>
    </ul>
  </div>
</template>

<script>
    export default {
        name: "vfortemplate",
      el: '#app',
      data(){
        return {
          sites: [
            { name: 'Runoob' },
            { name: 'Google' },
            { name: 'Taobao' }
          ]
        }
      }
    }
</script>

<style scoped>

</style>
